window.views = window.views || {};
function ViewModel(){
	var self = this;

	window.views.editor = window.views.editor || {};
	window.views.pics = window.views.pics || {};
	window.PicsData = window.PicsData || [];
	window.views.pics.PicsModel = window.views.pics.PicsModel || function(PicsData, self){};
	

	self.views = {
		auth: new window.views.auth(self),
		editor:  window.views.editor,
		pics: new window.views.pics.PicsModel(PicsData, self)
	};
	self.filename = ko.observable();
}

$(function(){
	ko.applyBindings(new ViewModel());
});